<div>
    <h3 class="sub-menu"><?php echo $item->get_titulo()?></h3>
    <ul class="lista-menu">
        <?php foreach ($item->get_menus() as $menu) {?>
            <li>
                <a href="<?php echo site_url('site/post/index/'.$menu->get_id_menu()); ?>">
                    <?php echo $menu->get_titulo();?>
                </a>

            </li>
        <?php } ?>
    </ul>
    
    
</div>